package org.tea.springdata.mongdb.dao;

import java.util.List;

import org.springframework.data.mongodb.core.MongoOperations;
import org.tea.springdata.mongdb.domain.Account;
import org.tea.springdata.mongdb.domain.Person;

public interface IAccountDao {

	void register(Account account);

	boolean login(Account account);

	List<Account> findAll();

	void delete(Account account);

	void addInfo(Person person);
	
	MongoOperations getTemplate();
	
}